package com.tzm.gaflow.dao;



import com.tzm.gaflow.web.dao.BaseDao;
import com.tzm.gaflow.entity.GaFlowGrant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 业务流程权限表 Mapper 接口
 * </p>
 *
 * @author tzm
 * @since 2021-03-11
 */
@Mapper
public interface GaFlowGrantDao extends BaseDao<GaFlowGrant> {

    GaFlowGrant getGrantByFlow(@Param("flowId") String flowId,
                               @Param("authorityType") String authorityType,
                               @Param("authorityValue") List<String> authorityValue);

}
